@charset "UTF-8";

/** {
   outline: 2px solid blue;
}
*/


/*ヘッダー*/
.header {
    position: fixed;
    width: 100%;
    height: 6.3em;
    z-index: 999;
    display: flex;
    background-color: rgb(255, 255, 254);
    border-bottom: 1px solid rgb(151, 148, 143);
}

@media screen and (max-width:768px){
  .header {
    position: fixed;
    width: 100%;
    height: 5.5em;
    z-index: 999;
    display: flex;
    background-color: rgb(255, 255, 254);
    border-bottom: 1px solid rgb(151, 148, 143);
  }
}



.list {
    list-style: none;
    width: 97%;
    display: flex;
    height: 4.5rem;
    color: rgb(82, 80, 80);
    justify-content: flex-end;
}

@media screen and (max-width:768px){
  .list {
    display: flex;
    text-align: center;
    font-weight: bold;
    padding-right: 100px;
    height: 60%;
    margin-left: -45px;
  }
}

.header li {
    display: flex;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border: solid;
    border-color: #e66d03;
    border-radius: 4px;
    color:#3b3b3b;
    padding-right: 15px;
}

@media screen and (max-width:768px){
  .header li {
    display: flex;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    padding: 0 10px 0 0;
  }
}



#g-nav-list li{
    border-color: #000;
    margin-bottom: 20px;
}

.contact{
    padding: 0 0.5em;
    margin-right: 2em;
    background-color: #e66d03;
    color: #fff;
    vertical-align: middle;
}

@media screen and (max-width:768px){
  .contact {
    padding: 0 0.5em;
    background-color: #e66d03;
    color: #fff;
    margin-right: 8em;
  }
}

@media screen and (max-width:768px){
  .fa-phone {
    padding: 1px 10px 0 0;
  }
}

.header-phone {
    padding: 8px 0;
}

@media screen and (max-width:768px){
  .header-phone {
    padding: 4px 0;
 }
}

@media screen and (max-width:767px){
  .header-phone {
    padding: 10px 0;
 }
}


.header-phone p {
    color: #fff;
    margin: 0 0 2px 0;
    font-size: 20px;
    font-family: serif;
}

@media screen and (max-width:768px){
  .header-phone p {
    color: #fff;
    margin: 0 0 2px 0;
    font-size: 17px;
    font-family: serif;
}
}


@media screen and (max-width:768px){
  .header-phone a {
    color: #fff;
    margin: 0;
    font-size: 15px;
    font-family: serif;
  }
}

.header-phone-a{
  color: #fff;
  font-size: 20px;
}


.header-txt p{
    font-size: 13px;
    color: #fff;
    margin-right: 15px;
    font-family: serif;
}


@media screen and (max-width:767px){
  .header-txt p {
    display: none;
  }
}

@media screen and (max-width:768px){
  .header-txt p {
    font-size: 11px;
    color: #fff;
    margin-right: 15px;
    font-family: serif;
    margin: 0;
  }
}


.company p {
    margin: auto;
}

.question p {
    margin: auto;
}

.header nav {
    width: 100%;
    height: 5rem;
    margin-right: 7rem;
}

@media screen and (max-width:768px){
  .header nav {
    height: 5rem;
    margin-top: 7px;
    margin-right: 0;
 }
}


.logo {
    width: 14rem;
    height: 7rem;
    float: left;
    margin-left: 1%;
}

@media screen and (max-width:768px){
  .logo {
    width: 12rem;
    height: 6rem;
    float: left;
    margin-left: 0;
    margin-top: 0.4%;
  }
}

@media screen and (max-width:767px){
  .logo {
    width: 8rem;
    height: 5rem;
    float: left;
    margin-left: 0;
    margin-top: 2%;
  }
}



#sozai {
    width: 100%;
    height: 40rem;
}


@media screen and (max-width:1024px){
  #sozai {
    width: 100%;
    height: 60rem;
  }
}

@media screen and (max-width:768px){
  #sozai {
    width: 100%;
    height: 48rem;
  }
}

.wrap {
    width: 100%;
    height: 740px;
    margin: 0;
    position: relative;
    top: 100px;
}

@media (max-width:1024px){
  .wrap {
    width: 100%;
    height: 1000px;
    top: 85px;
    position: relative;
  }
}

@media (max-width:768px){
  .wrap {
    width: 100%;
    height: 700px;
    top: 45px;
    position: relative;
  }
}


#title {
    opacity: 0;
    position: absolute;
    top: 41%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: rgb(255, 255, 255);
    letter-spacing: 2px;
    width: 100%;
}

@media screen and (max-width:959px){
  #title{
     font-size: 50px;
  }
}

@media screen and (max-width:450px){
  #title{
     font-size: 45px;
     width: 370px;
  }
}

.title-wrapper {
  text-align: center;
}


.subtitle {
    padding-top: 90.8px;
    margin-top: -90.8px;
    padding-bottom: 0;
    color: rgb(75, 75, 75);
}

.subtitle-h1 {
  margin-top: 3em;
}

.subtitle-wrapper {
  margin-top: 5%;
  overflow: hidden;
}

@media (max-width:820px){
  .subtitle-wrapper {
    margin: 0;
  }
}

.sub-info {
    position: relative;
    width: 100%;
}

.subtitle-1 {
  padding: 15px;
  margin-bottom: 20px;
  text-align: left;
  border: solid 3px #e66d03;
  border-radius: 10px;
  display: flex;
}

@media (max-width:768px){
  .subtitle-1 {
    padding: 15px;
    margin-bottom: 20px;
    text-align:center;
    border: solid 3px #e66d03;
    border-radius: 10px;
    display: block;
  }
}


.subtitle-1 h2 {
  width: 30%;
  margin:auto 2em auto 2em;
}

@media (max-width:1024px){
  .subtitle-1 h2 {
    width: 40%;
    margin:auto 2em auto 2em;
  }
}

@media (max-width:768px){
  .subtitle-1 h2 {
    width: 50%;
    margin:auto;
  }
}

.subtitle-1 p {
 width: 200%;
}

@media (max-width:1024px){
  .subtitle-1 p {
    width: 160%;
  }
}

@media (max-width:768px){
  .subtitle-1 p {
    width: 98%;
    text-align: left;
  }
}

.subtitle-2 {
  padding: 15px;
  text-align: left;
  border: solid 3px #e66d03;
  border-radius: 10px;
  display: flex;
}

@media (max-width:768px){
  .subtitle-2 {
    padding: 15px;
    margin-bottom: 20px;
    text-align:center;
    border: solid 3px #e66d03;
    border-radius: 10px;
    display: block;
  }
}

.subtitle-2 h2 {
  width: 30%;
  margin:auto 2em auto 2em;
}

@media (max-width:1024px){
  .subtitle-2 h2 {
    width: 40%;
  }
}

@media (max-width:768px){
  .subtitle-2 h2 {
    width: 50%;
    margin:auto;
  }
}

.subtitle-2 p {
  width: 200%;
 }

 @media (max-width:1024px){
  .subtitle-2 p {
    width: 160%;
  }
}

@media (max-width:768px){
  .subtitle-2 p {
    width: 98%;
    text-align: left;
  }
}

 .slidein{
	/* 装飾に関わるスタイルは省略 */
	transition: 2s cubic-bezier(0.75, 0, 0.25, 1);
}
.slide_left{
	transform: translateX(calc(-50vw - 50%));
}
.slide_right{
	transform: translateX(calc(50vw + 50%));
}
.show{
	transform: translateX(0);
}

.sub-info h1 {
    position: absolute;
    top: 6%;
    letter-spacing: 2px;
    text-align: center;
    color: white;
    font-weight: bold;
    width: 100%;
    font-size: 40px;
}


@media (max-width:768px){
  .sub-info h1 {
    position: absolute;
    top: 3%;
    letter-spacing: 2px;
    text-align: center;
    color: white;
    font-weight: bold;
    width: 100%;
    font-size: 40px;
}
}

.sub-info img {
    z-index: 1;
    width: 100%;
    height: 700px;
    vertical-align: top;
}

@media (max-width:768px){
  .sub-info img {
    z-index: 1;
    width: 100%;
    height: 67em;
    vertical-align: top;
}
}

.sub-info-title {
  padding-top: 800px;
  margin-top: -800px;
}


.garage-grid {
    position: absolute;
    top: 23%;
    left: 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 3;
    grid-auto-flow: column;
    column-gap: 30px;
}

@media (max-width:767px){
  .garage-grid {
    position: absolute;
    top: 15%;
    left: 5%;
    display: block;
    z-index: 3;
    column-gap: 30px;
}
}

.grid-item {
    background-color: white;
    margin: auto 0;
    width: 25vw;
    height: 107%;
}

@media (max-width:767px){
  .grid-item {
    background-color: white;
    margin: auto 0;
    width: 90vw;
    height: 107%;
    padding: 1px;
    margin-bottom: 20px;
  }
}

.grid-item h2 {
    color: #e66d03;
    text-align: center;
    font-size: 35px;
}

@media (max-width:767px){
  .grid-item h2 {
    color: #e66d03;
    text-align: center;
    font-size: 30px;
}
}

.grid-item p {
    display: flex;
    padding: 0 30px;
    line-height: 1.6em;
    font-size: 1.2em;
}

@media (max-width:1024px){
  .grid-item p {
    padding: 0 20px;
    font-size: 1.1em;
  }
}

@media (max-width:767px){
  .grid-item p {
    display: flex;
    padding: 0 30px;
    line-height: 1.6em;
    font-size: 1em;
}
}

.rebirth {
    text-align: center;
    letter-spacing: 1px;
}

.rebirth h2 {
    margin-top: 3%;
    margin-bottom: 3%;
}

.reuse {
    text-align: center;
    letter-spacing: 1px;
}

.reuse h2 {
    margin-top: 3%;
    margin-bottom: 3%;
}

.recycle {
    text-align: center;
    letter-spacing: 1px;
}

.recycle h2 {
    margin-top: 3%;
    margin-bottom: 3%;
}

.subbox {
    color: rgb(76, 75, 75);
    height: 600px;
    text-align: center;
    background-color: #e66d03;
    position: relative;
}

@media (max-width:767px){
  .subbox {
    color: rgb(76, 75, 75);
    height: 50em;
    text-align: center;
    background-color: #e66d03;
    position: relative;
}
}



.inbox {
    width: 88%;
    height: 95%;
    padding: 0 5%;
    background-color: white !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    overflow-wrap: break-word;
    border-radius: 240px 15px 100px 15px / 15px 200px 15px 185px;
}

.message {
    text-align: center;
    padding-top: 12%;
    margin: 0 5% 3% 5%;
    color: rgb(82, 81, 81);
    letter-spacing: 2px;
    margin-top: -7%;
}

.message-wrapper {
    margin: 0;
    background-color: rgb(239, 239, 239);

}


.message {
    height: auto;
}

.message p {
    margin-left: auto;
    margin-right: auto;
    background-color: #e66d03;
    font-weight: bold;
    color: white;
    width: 15%;
    padding: 3% 4%;
    border-radius: 50%;
}

@media (max-width:767px){
  .message p {
    margin-left: auto;
    margin-right: auto;
    background-color: #e66d03;
    font-weight: bold;
    color: white;
    width: 30%;
    padding: 3% 4%;
    border-radius: 50%;
}
}


/*グリッド*/

.js-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 3s, visibility 1s, transform 1s;
}

.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}


.wrapper-grid {
    display: grid;
    margin: 3% 10% 0;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    column-gap: 0;
    color: rgb(80, 80, 80);
}

@media (max-width:767px){
  .wrapper-grid {
    display: block;
    margin: 3% 10% 0;
    text-align: center;
    color: rgb(80, 80, 80);
    padding-bottom: 30px;
}
}




.item img {
    width: 80%;
    height: 10rem;
    margin: 4% 3%;
}

.item p {
    font-weight: bold;
}

/*質問*/

.cp_actab label::first-letter {
    color: #e87604;
    font-weight: bold;
}

.qa_h2 {
  padding-top: 3000px;
  margin-top: -3000px;
}

.cp_qa *,
.cp_qa *:after .cp_qa *:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.cp_qa .cp_actab {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 1px;
    color: #4b4a49;
}

.cp_qa .cp_actab input {
    position: absolute;
    opacity: 0;
}

.cp_actab {
    letter-spacing: 1px;
}

/* 質問 */

.qa_h2 {
    color: #4b4a49;
    padding-top: 7%;
    padding-bottom: 5%;
    margin: 0;
    text-align: center;
}


.wrapper_cp {
    height: 100%;
    background-color: #e66d03;
    padding: 50px 0 10px 0;
}

.cp_qa {

    margin-bottom: 50px;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    background-color: white;
    border-radius: 30px;
    padding-bottom: 30px;
}

@media (max-width:767px){
  .cp_qa {

    margin-bottom: 50px;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    background-color: white;
    border-radius: 30px;
    padding-bottom: 30px;
}
}

.cp_qa .cp_actab label {
    font-weight: bold;
    line-height: 1.6;
    position: relative;
    display: block;
    margin: 0 0 0 0;
    padding: 1em 2em 1em 1em;
    cursor: pointer;
    border-bottom: 1px solid #3b3b3b;
}

.cp_qa .cp_actab label:hover {
    color: #e87604;
}




/* 答え */
.cp_qa .cp_actab .cp_actab-content {
    overflow: hidden;
    max-height: 0;
    -webkit-transition: max-height 0.5s ease;
    transition: max-height 0.5s ease;
    color: rgb(0, 0, 0);
    background-color: rgb(230, 230, 230);
}

.cp_qa .cp_actab .cp_actab-content p {
    margin: 1em;
}

/* 質問を開いた時の仕様 */
/* --アイコン */
.cp_qa .cp_actab input:checked~label {
    color: #e66d03;
}

/* --答えの高さ */
.cp_qa .cp_actab input:checked~.cp_actab-content {
    max-height: 40em;
}

/* 質問をクリックした時のアイコンの動き */
.cp_qa .cp_actab label::after {
    line-height: 1.6;
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 3em;
    margin-top: -12.5px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-align: center;
}

.cp_qa .cp_actab input[type=checkbox]+label::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-bottom: solid 2px #333;
    border-right: solid 2px #333;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    margin-left: 90%;
}

.cp_qa .cp_actab input[type=checkbox]:checked+label::after {
    transform: translateY(25%) rotate(-135deg);

}



/*インスタ*/

.insta{
    width: 100%;
    height: 100%;
  padding-top: 100px;
  margin-top: -100px;  
  }

  @media screen and (max-width: 767px) {
    .insta{
      width: 100%;
      height: 100%;
    padding-top: 120px;
    margin-top: -100px;  
    }
  }


.insta h2{
    margin: 5% 0;
    text-align: center;
    color:#4b4a49;
}

.insta_list{
    display: flex;
    flex-wrap: wrap;
    gap: 140px 20px;
    margin: 30px 0;
    
}

@media screen and (max-width: 1024px){
  .insta_list{
    display: flex;
    flex-wrap: wrap;
    gap: 200px 10px;
    margin: 30px 0;  
    font-size: 14px; 
}  
}

@media screen and (max-width: 767px){
  .insta_list{
    display: flex;
    flex-wrap: wrap;
    gap: 200px 10px;
    margin: 30px 0;  
    font-size: 12px; 
}  
}


.insta_list li{
    position: relative;
    list-style:none;
    width: calc((100% - 40px)/3);
}

@media screen and (max-width: 750px){
    .insta_list li{
        width: calc((100% - 20px)/2);
    }
}

.insta_list li::before{
	content: "";
	display: block;
	padding-top: 100%;
}

.insta_list a{
	position: absolute;
  top: 0;
  width: 90%;
  height: auto;
}

.insta_list img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

.insta_btn{
    background-color: #000;
    padding: .5em 1em;
    width: fit-content;
    margin: 110px auto  50px auto;
    cursor: pointer;
    transition: .3s;
}

@media screen and (max-width: 767px){
  .insta_btn{
    background-color: #000;
    padding: .5em 1em;
    width: fit-content;
    margin: 200px auto  50px auto;
    cursor: pointer;
    transition: .3s;
}
}

.insta_btn a{
    color: #fff;
    text-decoration: none;
}

.insta_btn:hover{
    background-color: #999;
}

.phone{
    padding:5%;
    border: solid;
    border-color: #e66d03;
    border-radius: 20px;
    margin-top: 30px;
}

@media screen and (max-width: 767px){
  .phone{
    padding:5%;
    border: solid;
    border-color: #e66d03;
    border-radius: 20px;
    margin-top: 30px;
    font-size: 13px;
}
}


/*Form*/
.Form {
    margin-top: -150px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    text-align: center;
    color:#4b4a49 ;
    padding-top: 200px;
 }
  @media screen and (max-width: 480px) {
    .Form {
      margin-top: 20px;
      margin-left: auto;
      margin-right: auto;
      max-width: 720px;
      text-align: center;
      color:#4b4a49 ;
      padding-top: 30px;
    }
  }
  .Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  @media screen and (max-width: 480px) {
    .Form-Item {
      padding-left: 14px;
      padding-right: 14px;
      padding-top: 16px;
      padding-bottom: 16px;
      flex-wrap: wrap;
    }
  }
  /*.Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label {
      max-width: inherit;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
  }
  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label.isMsg {
      margin-top: 0;
    }
  }
  .Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background:#e66d03;
    color: #fff;
    font-size: 14px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label-Required {
      border-radius: 4px;
      padding-top: 4px;
      padding-bottom: 4px;
      width: 32px;
      font-size: 10px;
    }
  }
  .Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Input {
      margin-left: 0;
      margin-top: 18px;
      height: 40px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Textarea {
      margin-top: 18px;
      margin-left: 0;
      height: 200px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background:#e66d03;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }
  @media screen and (max-width: 480px) {
    .Form-Btn {
      margin-top: 24px;
      padding-top: 8px;
      padding-bottom: 8px;
      width: 160px;
      font-size: 16px;
    }
  }
*/
  .contact-title{
    color: #e66d03;
  }

  .mail{
    margin-top: 15%;
    
  }

/*マップ情報*/
#location {
    width: 100%;
    height: 40%;
    color: rgb(80, 80, 80);
    padding-bottom: 2rem;
}

.wrapper-location {
    width: 100%;
    height:25rem;
    display: flex;
    margin-top:10%;
    justify-content: center;
}

@media screen and (max-width:767px){
  .wrapper-location {
    width: 100%;
    height:30rem;
    display: block;
    margin-top:10%;
    justify-content: center;
}
}




.location-info {
    margin-right: 5rem;
}

@media(max-width:824px){
  .location-info {
    margin-left: 2rem;
  }
}

@media(max-width:768px){
  .location-info {
    text-align: center;
    margin: 0;
  }
}

.location-info p {
    margin: 5px;
    line-height: 1.7;
}

@media (max-width:2500px) {
  .location-info p{
  line-height: 1.5;
}

@media (max-width:768px) {
  .location-info p{
  line-height: 1.3;
  text-align: left;
  font-size: 13px;
  margin-left: 20px;
}
  
}


@media screen and (max-width:768px){
  iframe {
    width: 300px;
    height: 200px;

  }
}


body {
    margin: 0;
}


/*フッター*/

.footer02 {
    color: #fff;
    background-color: #e66d03;
    text-align: center;
    padding: 20px;
   }
   .footer02 a {
    color: #5b5b5b;
    text-decoration: none;
   }
   .footer02 a:hover {
    text-decoration: underline;
   }
   .footer02 .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
   }
  
   .footer02 .copyright {
    margin: 0;
   }

   @media screen and (max-width:768px){
    .footer02 .copyright {
      margin: 0;
      font-size: 13px;
     }
    }
  }

   /* ハンバーガーメニュー */
   #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:0;
    right: -120%;
  width:35%;
    height: 38em;/*ナビの高さ*/
  background-color: rgb(255, 245, 233);
    /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: -115px;
}
@media screen and (max-width:768px){
  #g-nav.panelactive{
    right: 0px;
    height: 100%;
}
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 40%;
    height: 700px;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

@media screen and (max-width:768px){
  #g-nav{
    /*ナビの数が増えた場合縦スクロール*/
    width: 100%;
    top: -7px;
}
}

@media screen and (max-width:768px){
  #g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 700px;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:48%;
    left:11em;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center;
}

#g-nav li a{
  color: black;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/

.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:20px;
  right: 10px;
  cursor: pointer;
    width: 80px;
    height:50px;
}

@media screen and (max-width:768px){
  .openbtn1{
    position:fixed;
      z-index: 9999;/*ボタンを最前面に*/
    top:16px;
    right: -7px;
    cursor: pointer;
      width: 80px;
      height:50px;
  }
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 4px;
    border-radius: 2px;
  background-color: #666;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:28px;
}

.openbtn1 span:nth-of-type(3) {
  top:41px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 25px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 37px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.g-nav-list-wrapper {
    height: 30em;
    background-color: white;
    position: relative;
    top: 6.3em;
}

@media (max-width:768px) {
  .g-nav-list-wrapper {
    height: 30em;
    background-color: white;
    position: relative;
    top: 5.4em;
}
  }


.g-nav-list-wrapper li {
    width: 20em;
    font-size: 1.1em;
    border: none;
}
.g-nav-list-wrapper li:hover{
    opacity: 0.6;
}

.location-map {
  position: relative;
}

@media (max-width:768px) {
  
.location-map {
  position: relative;
  margin-left: 3.5em;
  margin-top: 10%;
}
}